package 多线程;

/**
 * @description: Goods
 * @author: rock
 * @create:
 **/
public class Goods {
    private String goodsName;

    @Override
    public String toString() {
        return "Goods{" +
                "goodsName='" + goodsName + '\'' +
                ", goodsPrise=" + goodsPrise +
                '}';
    }

    public String getGoodsName() {
        return goodsName;
    }

    public Goods(String goodsName, double goodsPrise) {
        this.goodsName = goodsName;
        this.goodsPrise = goodsPrise;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public double getGoodsPrise() {
        return goodsPrise;
    }

    public void setGoodsPrise(double goodsPrise) {
        this.goodsPrise = goodsPrise;
    }

    private double goodsPrise;
}
